package strategicPattern;

import lombok.Data;
import strategicPattern.skill.FlySkill;
import strategicPattern.skill.QuackSkill;

/**
 * @author 帅小伙
 * @date 2022/1/2
 * @description
 */
@Data
public abstract class Duck {

    protected QuackSkill quackSkill;
    protected FlySkill flySkill;

    public Duck() {

    }

    public abstract void quack();

    public abstract void fly();


}
